package com.xxx.video.main.presenters;

import com.xxx.video.commen.presenters.IBaseView;
import com.xxx.video.main.beans.DynamicInfoBean;
import com.xxx.video.main.beans.VideoDetailsBean;
import com.xxx.video.main.beans.VideoListBean;

import java.util.List;

public interface IVideoDetailsFragmentView extends IBaseView {
    /**
     * init list
     */
    void initList();

    /**
     * init video details adapter
     *
     * @param contentInfo data
     */
    void initVideoDetailsAdapter(VideoDetailsBean contentInfo);

    /**
     * init video details recommend list adapter
     *
     * @param list data
     */
    void initVideoDetailsRecommendListAdapter(List<VideoListBean> list);

    /**
     * init data to view
     *
     * @param successOb data
     */
    void initData2View(VideoDetailsBean successOb);

    /**
     * start video details activity
     *
     * @param id id
     */
    void startVideoDetailsActivity(String id);

    /**
     * start download activity
     */
    void startDownloadActivity();

    /**
     * start login activity
     */
    void startLoginActivity();


    /**
     * star success
     *
     * @param praise
     */
    void starSuccess(boolean praise);

    /**
     * un like success
     *
     * @param praise
     */
    void unLikeSuccess(boolean praise);

    /**
     * add download success
     */
    void addDownloadSuccess();

    /**
     * collection success
     */
    void collectionSuccess();

    /**
     * un collection success
     */
    void unCollectionSuccess();

    void startFavoriteActivity();
}
